package cn.wolfcode.luowowo.article.service;

import cn.wolfcode.luowowo.article.domain.Destination;
import cn.wolfcode.luowowo.article.domain.Region;
import cn.wolfcode.luowowo.article.query.RegionQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IRegionService {
    PageInfo<Region> listAll(RegionQuery qo);

    void changeHotValue(int hot, Long id);

    List<Destination> getDestByRegionId(Long rid);

    void delete(Long id);

    void saveOrUpdate(Region region);

     List<Region> selectForList(RegionQuery qo);

    List<Destination> getHotDestByRegionId(Long regionId);
}
